:root
{
    --bodyMargin: 8px;
    --tabBarHeight: 48px;
}

html
{
    background-color: #fcfcf0;
    height: 100%;
    user-select: none;
}

body
{
    margin: var(--bodyMargin);
    min-height: calc(100% - var(--bodyMargin) - var(--bodyMargin));
    border: 1px solid #000;
    border-radius: 10px;
}


::-webkit-scrollbar
{
    display: none;
}

/*tab box 相关样式*/
.tab-button-bar
{
    margin: 0;
    overflow: hidden;
    border-bottom: 1px solid #000;
    height: var(--tabBarHeight);
}

.tab-button, .tab-button-active
{
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}

.tab-button
{
    opacity: 0.3;
}

.tab-button:hover
{
    opacity: 0.8;
}

.tab-box
{
    margin: 0;
    display: none;
    padding: 6px 12px;
    border-top: none;
}

.tab-bar-time
{
    display: inline-block;
    align-self: center;
    padding: 14px;
    font-size: 13px;
    position: absolute;
    inset-inline-end: 10px;
}
